﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Biuro.Formy
{
    public partial class LoginForm : Form
    {
        public string User
        {
            get { return tbUser.Text; }
            set { tbUser.Text = value; }
        }
        public string Password
        {
            get { return tbPassword.Text; }
            set { tbPassword.Text = value; }
        }
        public LoginForm()
        {
            InitializeComponent();
        }

        private void lbPassword_Paint(object sender, PaintEventArgs e)
        {
            System.Drawing.Drawing2D.LinearGradientBrush basebackground;
            basebackground = new System.Drawing.Drawing2D.LinearGradientBrush(new Point(0, 0), new Point(0, ClientSize.Height), Color.White, Color.LightGray);
            e.Graphics.FillRectangle(basebackground, ClientRectangle);
        }
    }
}
